#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int n = 1;
	if (*(char*)&n == 1)
		printf("1");
	else
		printf("0");
	return 0;
}